Upgrade helix-core to 1.4.3 to address CVE-2023-38647#25812
Upgrade helix-core to 1.4.3 to address CVE-2023-38647#25812ShahimSharafudeen wants to merge 1 commit intoprestodb:masterfrom
Conversation
imjalpreet
left a comment
There was a problem hiding this comment.
@ShahimSharafudeen, thank you. Why don't we add this to the root pom's DependencyManagement?
|
Thanks for the release note! Minor formatting nit. |
@imjalpreet - This transitive dependency is only used in the presto-pinot modules, which is why I added it directly to those modules instead of the root pom.xml |
Thanks @steveburnett for the correction. I've made the changes accordingly. |
@ShahimSharafudeen IMO, I’d still suggest adding it to the root POM. This way, any future additions to other modules will be automatically covered, and it also simplifies version management across multiple modules. |
4efb71c to
91e2e21
Compare
@imjalpreet - Agreed with your point. I’ve moved the dependency to the root POM to ensure future modules are automatically covered and to simplify version management across the project. |
imjalpreet
left a comment
There was a problem hiding this comment.
Thanks, LGTM, a small nit.
| <dependency> | ||
| <groupId>org.apache.helix</groupId> | ||
| <artifactId>helix-core</artifactId> | ||
| <version>1.4.3</version> |
There was a problem hiding this comment.
nit: please add the version as a property
| <dependency> | ||
| <groupId>org.apache.helix</groupId> | ||
| <artifactId>helix-core</artifactId> | ||
| <version>1.4.3</version> | ||
| </dependency> |
There was a problem hiding this comment.
Also, add a comment to explain why we have added this here.
91e2e21 to
c5b0647
Compare
imjalpreet
left a comment
There was a problem hiding this comment.
@ShahimSharafudeen, thank you, it LGTM, just a small suggestion to move this dependency just after the pinot-driver dependency here:
Lines 2242 to 2246 in e53f403
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <!-- Add the helix-core dependency to the root pom.xml to upgrade the transitive helix-core version used by the Presto Pinot driver--> |
There was a problem hiding this comment.
| <!-- Add the helix-core dependency to the root pom.xml to upgrade the transitive helix-core version used by the Presto Pinot driver--> | |
| <!-- Upgrades the transitive helix-core version used by the Presto Pinot driver to address CVE-2023-38647 --> |
There was a problem hiding this comment.
@imjalpreet – As per your request, I’ve updated the comment details based on your suggestion.
c5b0647 to
9b586ff
Compare
imjalpreet
left a comment
There was a problem hiding this comment.
Thanks, @ShahimSharafudeen
tdcmeehan
left a comment
There was a problem hiding this comment.
Is there an update to the Pinot driver which fixes this CVE?
@tdcmeehan, I had checked this earlier. There hasn't been any new version released since March 2023, and the latest version is still using helix-core:1.0.4. https://mvnrepository.com/artifact/org.apache.pinot/presto-pinot-driver/0.12.1 |
|
Can we create an issue in Pinot and link to that issue here? And potentially contribute this change upstream to the Pinot driver? |
|
@tdcmeehan, the This PR was originally intended as a temporary CVE fix for the existing implementation we had added at IBM before upgrading to JDK 17. Now that we’re on Java 17, the Pinot library upgrade is already underway. We’re moving to the latest libraries and removing the deprecated Pinot library upgrade PR: #25785 |
|
Thanks, @imjalpreet , for your clarification on the Pinot driver change during my absence. @tdcmeehan @imjalpreet — Could you please confirm whether this PR is still relevant to keep open, since the same fix is already included in the Pinot library upgrade PR? |
|
@ShahimSharafudeen, we can close this in favour of #25785 |
Description
Upgraded helix-core to version 1.4.3 to address CVE-2023-38647, as the vulnerable version (helix-core:1.0.4) was introduced as a transitive dependency through the presto-pinot-driver.
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.